# $Id: PKGBUILD 66115 2012-02-23 01:28:54Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: danitool

pkgname=libgoom2
pkgver=2k4
pkgrel=2
pkgdesc="Shared library part of the Goom visualization plugin"
arch=('i686' 'x86_64')
url="http://www.fovea.cc/?page=details_produits&id=goom"
license=('LGPL')
depends=('glibc')
options=('!libtool' '!emptydirs')
source=("http://downloads.sourceforge.net/project/goom/goom2k4/0/goom-2k4-0-src.tar.gz")
md5sums=('8100dd07e0c6784fdf079eeaa53a5c7f')

build() {
  cd "${srcdir}/goom2k4-0"

  ./configure --prefix=/usr \
              --without-xmms \
              --without-sdl
  make
}

package() {
  cd "${srcdir}/goom2k4-0"

  make DESTDIR="${pkgdir}" install
}
